package com.yunfeng.aolin.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.yunfeng.common.entity.Idable;

@Entity
@Table(name = "aolin_cusquotesrecord")
public class CusQuotesRecord implements Idable<Long> {
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Long id;

	/**
	 * 客户名称
	 */
	@Column(nullable = false, length = 255)
	private String name;

	/**
	 * 客户料号
	 */
	@Column(nullable = false, length = 255)
	private String liaohao;

	/**
	 * 品名
	 */
	@Column(nullable = false, length = 255)
	private String pinming;

	/**
	 * 产品规格
	 */
	@Column(nullable = false, length = 255)
	private String guige;

	/**
	 * 材料名称
	 */
	@Column(nullable = false, length = 255)
	private String cailiaomingcheng;

	/**
	 * 产品单价
	 */
	@Column(nullable = false, length = 11)
	private String danjia;

	/**
	 * 联系人
	 */
	@Column(nullable = false, length = 255)
	private String contact;

	/**
	 * 联系电话
	 */
	@Column(nullable = false, length = 255)
	private String phone;

	/**
	 * 原材料供应商
	 */
	@Column(length = 255)
	private String supplier;

	/**
	 * 备注
	 */
	@Column(columnDefinition = "text")
	private String mark;

	/**
	 * 日期
	 */
	@Column(nullable = false, length = 10)
	@Temporal(TemporalType.DATE)
	private Date time;

	/**
	 * 
	 */
	@Column(columnDefinition = "text")
	private String remark;

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return this.name;
	}

	/**
	 * @param liaohao
	 *            the liaohao to set
	 */
	public void setLiaohao(String liaohao) {
		this.liaohao = liaohao;
	}

	/**
	 * @return the liaohao
	 */
	public String getLiaohao() {
		return this.liaohao;
	}

	/**
	 * @param pinming
	 *            the pinming to set
	 */
	public void setPinming(String pinming) {
		this.pinming = pinming;
	}

	/**
	 * @return the pinming
	 */
	public String getPinming() {
		return this.pinming;
	}

	/**
	 * @param guige
	 *            the guige to set
	 */
	public void setGuige(String guige) {
		this.guige = guige;
	}

	/**
	 * @return the guige
	 */
	public String getGuige() {
		return this.guige;
	}

	/**
	 * @param cailiaomingcheng
	 *            the cailiaomingcheng to set
	 */
	public void setCailiaomingcheng(String cailiaomingcheng) {
		this.cailiaomingcheng = cailiaomingcheng;
	}

	/**
	 * @return the cailiaomingcheng
	 */
	public String getCailiaomingcheng() {
		return this.cailiaomingcheng;
	}

	/**
	 * @param danjia
	 *            the danjia to set
	 */
	public void setDanjia(String danjia) {
		this.danjia = danjia;
	}

	/**
	 * @return the danjia
	 */
	public String getDanjia() {
		return this.danjia;
	}

	/**
	 * @param contact
	 *            the contact to set
	 */
	public void setContact(String contact) {
		this.contact = contact;
	}

	/**
	 * @return the contact
	 */
	public String getContact() {
		return this.contact;
	}

	/**
	 * @param phone
	 *            the phone to set
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}

	/**
	 * @return the phone
	 */
	public String getPhone() {
		return this.phone;
	}

	/**
	 * @param supplier
	 *            the supplier to set
	 */
	public void setSupplier(String supplier) {
		this.supplier = supplier;
	}

	/**
	 * @return the supplier
	 */
	public String getSupplier() {
		return this.supplier;
	}

	/**
	 * @param mark
	 *            the mark to set
	 */
	public void setMark(String mark) {
		this.mark = mark;
	}

	/**
	 * @return the mark
	 */
	public String getMark() {
		return this.mark;
	}

	/**
	 * @param time
	 *            the time to set
	 */
	public void setTime(Date time) {
		this.time = time;
	}

	/**
	 * @return the time
	 */
	public Date getTime() {
		return this.time;
	}

	/**
	 * @param remark
	 *            the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * @return the remark
	 */
	public String getRemark() {
		return this.remark;
	}
}
